package com.qf.proxy;

import com.qf.service.FangDongService;
import com.qf.service.FangDongServiceImpl;

public class ZhongJieProxy {

    private FangDongService fangDongService = new FangDongServiceImpl();


    public void zuFang() {
        System.out.println("======帮房东打扫卫生======");
        System.out.println("======帮房东带租客看房======");
        System.out.println("======帮房东草拟合同======");
        //调用房东租房子的核心方法, 满足房东需求, 收钱
        fangDongService.zuFang();

        System.out.println("======帮房东承担风险======");
    }
}
